home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pctchnqs
/
1992
/
number2
/
badintr.pas
next >
Wrap
Pascal/Delphi Source File
|
1992-01-09
|
310b
|
15 lines
function IsWindows3 : Boolean;
var
Regs : Registers;
begin
Regs.AX := $1600;
Intr($2F, Regs);
if (Regs.AL <= 1) or (Regs.AL >= $80) then begin
Regs.AX := $4680;
Intr($2F, Regs);
IsWindows3 := Regs.AX = 0;
end
else
IsWindows3 := True;
end;